<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理(新建)</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/main.css"/>
    <link rel="stylesheet" type="text/css" href="../../../../Public/static/plugins/layui/css/layui.css">
    <script type="text/javascript" src="../../../../Public/static/plugins/layui/layui.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/libs/modernizr.min.js"></script>
    <style>
        .userinfo{float: right; margin-right: 20px;}
    </style>
</head>
<body>
<!--导航-->
    <div>
            <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1>
            <ul  class="layui-nav">
                <li class="layui-nav-item"><a class="on" href="__APP__/Home/Index/index">首页</a></li>
                <li class="layui-nav-item layui-this"><a href="/" target="_blank">网站首页</a></li>
                <li class="layui-nav-item"><a href="#">管理员</a></li>
                <li class="layui-nav-item userinfo"><a href="{:U('Login/logout')}">退出</a></li>
                <li class="layui-nav-item userinfo"><a href="{:U('Index/xgpass')}">修改密码</a></li>
            </ul>
    </div>




<div class="container clearfix">
<!--侧面导航-->
    <div class="sidebar-wrap">
        <ul class="layui-nav layui-nav-tree" lay-filter="test">
            <li class="layui-nav-item"><a href="{:U('Article/add')}">新建文章</a></li>
            <li class="layui-nav-item"><a href="{:U('Article/index')}">文章管理</a></li>
            <li class="layui-nav-item"><a href="{:U('Fl/index')}">分类管理</a></li>
        </ul>
    </div>
    <!--/sidebar-->
    <div class="main-wrap">
        <div class="result-wrap">
                <h1 style="font-weight: bold">新建文章</h1>

			<div class="result-content">
				<form action="{:U('Article/tjadd')}" method="POST">

                        <label class="layui-form-label">标题</label>
                        <div class="layui-input-block layui-anim">
                            <input type="text" name="arname" class="layui-input" placeholder="文章名字" style="width: 40%">
                        </div>

					<!--<div class="layui-input-block">标题：<input type="text" name="arname" value="未命名文章" style="width:40%;" /></div>-->

                        <label class="layui-form-label">分类</label>
                        <div style="margin-top: 8px" class="layui-input-block">
                            <select name="flid">
                                <volist name="list" id="vo">
                                    <option  value="{$vo.id}">{$vo.flname}</option>
                                </volist>
                            </select>
                        </div>

					<div>
						<SCRIPT type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></SCRIPT>
						<SCRIPT type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></SCRIPT>
						<script id="container" name="arcontent" type="text/plain"></script>
						<script type="text/javascript">
							var editor = UE.getEditor('container');
						</script>
					</div>
					<div style="margin-top: 10px"><input class="layui-btn layui-btn-radius" type="submit" value="提交" /></div>
				</form>
            </div>
        </div>
    </div>
    <!--/main-->
</div>
<script>
    layui.use('element', function(){
        var element = layui.element;
    });
</script>
</body>

</html>